list=[36, 19, 77, 80, 63, 99, 94, 21, 39, 44, 35, 79, 52, 49, 10, 83, 30, 96, 5, 36]
list1=list[0:10]
list.reverse()
list2=list[0:10]
list1.sort()
list2.sort()
list2.reverse()
print(list1+list2)
